From: Owen Taylor Date: Thu, 8 Jan 2009 23:34:19 +0000 (+0000) Subject: Pass the right 'this' to switchWorkspaceDone X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~11500 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1e99f00e59f9bb2ca1620e383247d06412972798;p=gnome-shell.git Pass the right 'this' to switchWorkspaceDone switchWorkspaceDone was being called with the wrong 'this', causing ShellWM.completed_switch_workspace() never to be called, causing stacking order to get confused. http://bugzilla.gnome.org/show_bug.cgi?id=567091 svn path=/trunk/; revision=142 --- diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index 2c4b0ef23..60f329a57 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -296,7 +296,8 @@ WindowManager.prototype = { y: yDest, time: SWITCH_ANIMATION_TIME, transition: "easeOutBack", - onComplete: this._switchWorkspaceDone + onComplete: this._switchWorkspaceDone, + onCompleteScope: this }); Tweener.addTween(switchData.inGroup, { x: 0,